package com.ljm.boot.redisson.annotation;

import java.lang.annotation.*;

/**
 * @author Dominick Li
 * @description 防止重复提交
 **/
@Target({ElementType.PARAMETER, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface RepeatSubmit {


    /**
     * 间隔时间（单位:秒)
     */
    int interval() default 1;

}
